.Me {
    width: 100%;
    height: 70px;
    font-size: 36px;
    border-bottom: 3px solid rgb(243, 243, 243);
    display: flex;
    align-items: center;
    padding: 0 20px;
    user-select: none;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
}
#MeDark {
    color: rgb(207, 207, 207);
    border-bottom: 3px solid rgb(207, 207, 207);
}
/* 头像标题 */
.headName {
    position: relative;
    margin: auto;
    width: 90%;
    height: 52px;
    border-bottom: 2px solid rgb(243, 243, 243);
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
    user-select: none;
}
#headNameDark {
    color: rgb(207, 207, 207);
    border-bottom: 2px solid rgb(207, 207, 207);
}

.headName span {
    position: absolute;
    bottom: 0;
    font-size: 30px;
}

/* 修改头像的大盒子 */
.updateAvatarBox {
    position: relative;
    width: 100%;
    height: 260px;
}

.meAvatarBox {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    height: 180px;
    width: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.meAvatar {
    height: 100%;
    width: 100%;
}

.loading {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-120px, 0);
    height: 46px;
    width: 46px;
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loadingDark {
    color: rgb(207, 207, 207);
}

.upToCOSBtn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-56px, 0);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    font-size: 26px;
    font-weight: 700;
}

.upToCOSInput {
    display: none;
}

.updateAvatarBtn {
    position: absolute;
    bottom: 0;
    left: 50%;
    /* transform: translate(-50%, 0); */
    transform: translate(10px, 0);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    font-size: 26px;
    font-weight: 700;
}
#upToCOSBtnDark,
#updateAvatarBtnDark {
    color: rgb(207, 207, 207);
}

.upToCOSBtn:hover,
.updateAvatarBtn:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) inset;
    background-color: #009688;
}
#upToCOSBtnDark:hover,
#updateAvatarBtnDark:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) inset;
    background-color: #00417e;
}

/* 修改昵称、名称大盒子 */
.nickUserName {
    height: 140px;
}

/* 修改区域 */
.updateInfoBox {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    width: 60%;
    height: 50px;
    margin: 20px auto 0;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
.updateInfoBox:hover {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.8);
}
#updateInfoBoxDark:hover {
    box-shadow: 0 0 16px rgba(0, 109, 211, 0.8);
}

.inputName {
    border-radius: 25px;
    width: 100%;
    height: 50px;
    padding: 0 100px 0;
    font-size: 22px;
    background-color: #00c9b5;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#inputNameDark {
    background-color: #0d2a44;
    color: rgb(207, 207, 207);
}

.inputName:focus {
    background-color: #009688;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
#inputNameDark:focus {
    background-color: #0e497c;
}

.inputName:focus::-webkit-input-placeholder,
.inputName::-webkit-input-placeholder {
    color: rgb(243, 243, 243);
}

.inputName:focus:-moz-placeholder,
.inputName::-moz-placeholder {
    color: rgb(243, 243, 243);
}

.inputName:focus::-moz-placeholder,
.inputName::-moz-placeholder {
    color: rgb(243, 243, 243);
}

.inputName:focus:-ms-input-placeholder,
.inputName::-ms-input-placeholder {
    color: rgb(243, 243, 243);
}

/* -------------------------------------- */
#inputNameDark:focus::-webkit-input-placeholder,
#inputNameDark::-webkit-input-placeholder {
    color: rgb(207, 207, 207);
}

#inputNameDark:focus:-moz-placeholder,
#inputNameDark::-moz-placeholder {
    color: rgb(207, 207, 207);
}

#inputNameDark:focus::-moz-placeholder,
#inputNameDark::-moz-placeholder {
    color: rgb(207, 207, 207);
}

#inputNameDark:focus:-ms-input-placeholder,
#inputNameDark::-ms-input-placeholder {
    color: rgb(207, 207, 207);
}
/* -------------------------------------- */

.updateNameBtn {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: #00b4a2;
    box-shadow: 0 0 14px rgb(0, 0, 0) inset;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#updateNameBtnDark {
    background-color: #004b91;
}

.updateNameBtn:hover {
    background-color: rgb(0, 228, 38);
}
#updateNameBtnDark:hover {
    background-color: rgb(0, 158, 26);
}

@media all and (max-width: 1024px) {
    .Me {
        height: 50px;
        font-size: 20px;
    }
    /* 头像昵称标题 */
    .headName {
        width: 94%;
        height: 40px;
    }
    .headName span {
        font-size: 18px;
    }
    /* 修改头像的大盒子 */
    .updateAvatarBox {
        width: 100%;
        height: 154px;
    }
    .meAvatarBox {
        top: 20px;
        height: 100px;
        width: 100px;
    }
    .loading {
        transform: translate(-80px, 0);
        bottom: -10px;
        height: 30px;
        width: 30px;
        font-size: 16px;
    }
    .upToCOSBtn {
        transform: translate(-40px, 0);
        bottom: -10px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .updateAvatarBtn {
        /* transform: translate(-50%, 0); */
        transform: translate(10px, 0);
        bottom: -10px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    /* 修改昵称、名称大盒子 */
    .nickUserName {
        height: 120px;
    }

    /* 修改区域 */
    .updateInfoBox {
        border-radius: 16px;
        width: 80%;
        height: 32px;
        margin: 14px auto 0;
    }
    .inputName {
        border-radius: 16px;
        height: 32px;
        padding: 0 40px 0;
        font-size: 16px;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    }
    .updateNameBtn {
        height: 32px;
        width: 32px;
        font-size: 14px;
    }
}
